/*
 * Copyright © 2004-2014 chenYuan. All rights reserved.
 * @Website:wwww.jspx.net
 * @Mail:39793751@qq.com
 * @author: chenYuan , 陈原
 * @License: Jspx.net Framework Code is open source (LGPL)，Jspx.net Framework 使用LGPL 开源授权协议发布。
 * @jvm:jdk1.6+  x86/amd64
 *
 */
package com.jspx.sober.dialect;

import com.jspx.utils.ClassUtil;

/**
 * Created by IntelliJ IDEA.
 * User:chenYuan (mail:39793751@qq.com)
 * Date: 2007-1-6
 * Time: 22:10:21
 */
public class DialectFactory  
{
    public static Dialect createDialect(String databaseName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
    {
        return (Dialect) ClassUtil.newInstance("com.jspx.sober.dialect." + databaseName + "Dialect");
    }

}